﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Itdavany.Objects;
using Itdavany.Utility;
//using RollingKitty.Data.Design;

namespace RollingKitty.Objects
{
    class MouseCursor : GameObject
    {
        //private MouseCursorSkin skin;

        private Texture2D curstexture;

        public MouseCursor()
        {
            //skin = mousecursorskin;

            curstexture = Shared.ContentManager.Load<Texture2D>(@"Content\UI\Cursor\cursor00");
        }

        public override void Draw()
        {
            if (!IsFrozen)
            {
                DefaultSpriteBatch.Begin();

                DefaultSpriteBatch.Draw(curstexture,
                    new Vector2((float)(MouseInput.X), (float)(MouseInput.Y)),
                    Color.White);

                DefaultSpriteBatch.End();
            }

            base.Draw();
        }
    }
}
